package org.lx.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.lx.nursing.domain.RoomType;

import java.util.List;

@Mapper
public interface RoomTypeMapper extends BaseMapper<RoomType> {
    RoomType selectRoomTypeById(Long id);

    List<RoomType> selectRoomTypeList(RoomType roomType);

    int insertRoomType(RoomType roomType);

    int updateRoomType(RoomType roomType);

    int deleteRoomTypeById(Long id);

    int deleteRoomTypeByIds(Long[] ids);
}
